Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly setting jvmToolchain to fix compatibility issues for Java 8 projects #202

Merged
merged 8 commits into from
Mar 25, 2023

Conversation

orchestr7
Copy link
Owner

What's done:

  • We were not setting jvmToolChain explicitly and release action is using Java 11, so it's still causing compatibility error for Java 8 projects: 'com/akuleshov7/ktoml/Toml has been compiled by a more recent version of the Java Runtime' (because ktoml is still compiled by Java 11 and setting only target Java 8 is not enough)

### What's done:
- simple test
### What's done:
- We were not setting jvmToolChain explicitly and release action is using Java 11, so it's still causing compatibility error for Java 8 projects: 'com/akuleshov7/ktoml/Toml has been compiled by a more recent version of the Java Runtime' (because ktoml is still compiled by Java 11 and setting only target Java 8 is not enough)
@orchestr7 orchestr7 linked an issue Mar 21, 2023 that may be closed by this pull request
@orchestr7 orchestr7 merged commit a32387a into main Mar 25, 2023
@orchestr7 orchestr7 deleted the hotfix/toolchain branch March 25, 2023 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java compatibility is not properly set to Java 8
2 participants